\documentclass[10pt,a4paper,english,italian]{article}
%\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{color}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{epsfig}
\usepackage{tabularx}
%\usepackage{multirow}
%\usepackage{subfigure}
\usepackage{verbatim}
\usepackage{babel}
\usepackage{fancyhdr}
\usepackage{listings}
\usepackage{../common/espacs}

\makeatother

%\input{../common/commands.tex}

\title{Esercitazione 12}
\date{17/12/2010}

\setlength{\textwidth}{100ex}
\setlength{\oddsidemargin}{0ex}

\pagestyle{fancy}
\headheight 35pt

\rhead{\copyright~2006/2010}

\newcommand{\vv}[1]{\mathbf{#1}}

\begin{document}
\lstset{language=[ISO]C++}
\maketitle

\input{text.tex}
%\input{solution.tex}

\end{document}
